package com.czn.shopdemo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czn.shopdemo.model.User;
import com.czn.shopdemo.model.vo.LoginVO;

import java.util.Map;

/**
 * @author Zenan Chen
 * @date 2023/4/4 9:30
 */
public interface UserService extends IService<User> {
    Map<String, String> login(LoginVO loginVo);

    void saveUser(User user) throws Exception;

    void deleteUser(String id);

    User getUserDetail(String id);


    Page<User> getUserList(Integer pageNo, Integer pageSize, String keyword);
}
